package com.guomei.bean;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
public class ChangePassword {
    @NotNull(message = "新密码不能为空")
    @NotBlank(message = "新密码不能为空")
    private String newPassword;
    @NotNull(message = "用户ID不能为空")
    private Long userId;
}
